package com.mf.mapper;

import com.mf.entity.bo.TaskBo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 任务表
*
* @author mf
* @since 2025-03-08
*/

public interface TaskMapper extends BaseMapper<TaskBo> {
    Integer updateBatchStatusByIds(@Param("cancellationIds") List<Integer> removeIds,@Param("status") Integer status);

    /**
     * 更新子任务数量
     */
    Integer updateSonCountById(@Param("id") Integer id,@Param("sonCount") Integer sonCount);
}
